import request from '@/utils/request'

// 专题列表
export function topicList(data) {
    return request({
        url: '/mall/topic/list',
        method: 'post',
        data: data
    })
}

// 专题详情
export function topicDetail(data) {
    return request({
        url: '/mall/topic/detail',
        method: 'post',
        data: data
    })
}

// 相关专题
export function topicRelated(data) {
    return request({
        url: '/mall/topic/related',
        method: 'post',
        data: data
    })
}
